import { request } from "umi";

// 访问数据
export function viewList(data:object) {
    let params = {
        page:1,
        pageSize:1000
    }
    params = Object.assign(params,data)
    return request('/api/view', {params})
}